home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / fade into you / getting there / Apps / NetRPG Dev / Traps.p < prev   
Text File  |  1989-07-31  |  21KB  |  853 lines

  1. {
  2. Created: Thursday, October 27, 1988 at 10:29 PM
  3.     Traps.p
  4.     Pascal Interface to the Macintosh Libraries
  5.  
  6.     Copyright © Symantec Corporation 1989
  7.     Copyright Apple Computer, Inc.  1985-1988
  8.     All rights reserved
  9. }
  10.  
  11.  
  12. UNIT Traps;
  13. INTERFACE
  14.  
  15.  
  16. CONST
  17.  
  18. {  Controls Traps  }
  19.  
  20. _DisposControl                     = $A955;
  21. _DragControl                     = $A967;
  22. _Draw1Control                     = $A96D;
  23. _DrawControls                     = $A969;
  24. _FindControl                     = $A96C;
  25. _GetAuxCtl                         = $AA44;
  26. _GetCRefCon                         = $A95A;
  27. _GetCTitle                         = $A95E;
  28. _GetCtlAction                     = $A96A;
  29. _GetCtlValue                     = $A960;
  30. _GetCVariant                     = $A809;
  31. _GetMaxCtl                         = $A962;
  32. _GetMinCtl                         = $A961;
  33. _GetNewControl                     = $A9BE;
  34. _HideControl                     = $A958;
  35. _HiliteControl                     = $A95D;
  36. _KillControls                     = $A956;
  37. _MoveControl                     = $A959;
  38. _NewControl                         = $A954;
  39. _SetCRefCon                         = $A95B;
  40. _SetCTitle                         = $A95F;
  41. _SetCtlAction                     = $A96B;
  42. _SetCtlColor                     = $AA43;
  43. _SetCtlValue                     = $A963;
  44. _SetMaxCtl                         = $A965;
  45. _SetMinCtl                         = $A964;
  46. _ShowControl                     = $A957;
  47. _SizeControl                     = $A95C;
  48. _TestControl                     = $A966;
  49. _TrackControl                     = $A968;
  50. _UpdtControl                     = $A953;
  51.  
  52. {  Desk Traps  }
  53.  
  54. _CloseDeskAcc                     = $A9B7;
  55. _OpenDeskAcc                     = $A9B6;
  56. _SysEdit                         = $A9C2;
  57. _SystemClick                     = $A9B3;
  58. _SystemEvent                     = $A9B2;
  59. _SystemMenu                         = $A9B5;
  60. _SystemTask                         = $A9B4;
  61.  
  62. {  DeskBus Traps  }
  63.  
  64. _ADBReInit                         = $A07B;
  65.  
  66. {  Dialogs Traps  }
  67.  
  68. _NewCDialog                         = $AA4B;
  69. _Alert                             = $A985;
  70. _CautionAlert                     = $A988;
  71. _CloseDialog                     = $A982;
  72. _CouldAlert                         = $A989;
  73. _CouldDialog                     = $A979;
  74. _DialogSelect                     = $A980;
  75. _DisposDialog                     = $A983;
  76. _DrawDialog                         = $A981;
  77. _ErrorSound                         = $A98C;
  78. _FindDItem                         = $A984;
  79. _FreeAlert                         = $A98A;
  80. _FreeDialog                         = $A97A;
  81. _GetDItem                         = $A98D;
  82. _GetIText                         = $A990;
  83. _GetNewDialog                     = $A97C;
  84. _HideDItem                         = $A827;
  85. _InitDialogs                     = $A97B;
  86. _IsDialogEvent                     = $A97F;
  87. _ModalDialog                     = $A991;
  88. _NewDialog                         = $A97D;
  89. _NoteAlert                         = $A987;
  90. _ParamText                         = $A98B;
  91. _SelIText                         = $A97E;
  92. _SetDItem                         = $A98E;
  93. _SetIText                         = $A98F;
  94. _ShowDItem                         = $A828;
  95. _StopAlert                         = $A986;
  96. _UpdtDialog                         = $A978;
  97. _StdOpcodeProc                     = $ABF8;
  98.  
  99. {  Events Traps  }
  100.  
  101. _Button                             = $A974;
  102. _EventAvail                         = $A971;
  103. _GetKeys                         = $A976;
  104. _GetMouse                         = $A972;
  105. _GetNextEvent                     = $A970;
  106. _TickCount                         = $A975;
  107. _WaitMouseUp                     = $A977;
  108. _WaitNextEvent                     = $A860;
  109.  
  110. {  FixMath Traps  }
  111.  
  112. _FixATan2                         = $A818;
  113.  
  114. {  Fonts Traps  }
  115.  
  116. _SetFractEnable                     = $A814;
  117. _FMSwapFont                         = $A901;
  118. _FontMetrics                     = $A835;
  119. _GetFName                         = $A8FF;
  120. _GetFNum                         = $A900;
  121. _InitFonts                         = $A8FE;
  122. _RealFont                         = $A902;
  123. _SetFontLock                     = $A903;
  124. _SetFScaleDisable                 = $A834;
  125.  
  126. {  Menus Traps  }
  127.  
  128. _DelMCEntries                     = $AA60;
  129. _DispMCInfo                         = $AA63;
  130. _GetMCEntry                         = $AA64;
  131. _GetMCInfo                         = $AA61;
  132. _MenuChoice                         = $AA66;
  133. _SetMCEntries                     = $AA65;
  134. _SetMCInfo                         = $AA62;
  135. _AddResMenu                         = $A94D;
  136. _AppendMenu                         = $A933;
  137. _CalcMenuSize                     = $A948;
  138. _CheckItem                         = $A945;
  139. _ClearMenuBar                     = $A934;
  140. _CountMItems                     = $A950;
  141. _DeleteMenu                         = $A936;
  142. _DelMenuItem                     = $A952;
  143. _DisableItem                     = $A93A;
  144. _DisposMenu                         = $A932;
  145. _DrawMenuBar                     = $A937;
  146. _EnableItem                         = $A939;
  147. _FlashMenuBar                     = $A94C;
  148. _GetItem                         = $A946;
  149. _GetItemCmd                         = $A84E;
  150. _GetItmIcon                         = $A93F;
  151. _GetItmMark                         = $A943;
  152. _GetMenuBar                         = $A93B;
  153. _GetMHandle                         = $A949;
  154. _GetNewMBar                         = $A9C0;
  155. _GetRMenu                         = $A9BF;
  156. _HiliteMenu                         = $A938;
  157. _InitMenus                         = $A930;
  158. _InitProcMenu                     = $A808;
  159. _InsertMenu                         = $A935;
  160. _InsertResMenu                     = $A951;
  161. _InsMenuItem                     = $A826;
  162. _MenuKey                         = $A93E;
  163. _MenuSelect                         = $A93D;
  164. _NewMenu                         = $A931;
  165. _PopUpMenuSelect                 = $A80B;
  166. _SetItem                         = $A947;
  167. _SetItemCmd                         = $A84F;
  168. _SetItmIcon                         = $A940;
  169. _SetItmMark                         = $A944;
  170. _SetItmStyle                     = $A942;
  171. _SetMenuBar                         = $A93C;
  172. _SetMFlash                         = $A94A;
  173.  
  174. {  OSUtils Traps  }
  175.  
  176. _KeyTrans                         = $A9C3;
  177. _SysBeep                         = $A9C8;
  178. _Unimplemented                     = $A89F;
  179.  
  180. {  Packages Traps  }
  181.  
  182. _InitAllPacks                     = $A9E6;
  183. _InitPack                         = $A9E5;
  184.  
  185. {  Quickdraw Traps  }
  186.  
  187. _AddComp                         = $AA3B;
  188. _AddPt                             = $A87E;
  189. _AddSearch                         = $AA3A;
  190. _AllocCursor                     = $AA1D;
  191. _BackColor                         = $A863;
  192. _BackPat                         = $A87C;
  193. _BackPixPat                         = $AA0B;
  194. _CalcMask                         = $A838;
  195. _CharExtra                         = $AA23;
  196. _CharWidth                         = $A88D;
  197. _ClipRect                         = $A87B;
  198. _CloseCport                         = $A87D;
  199. _ClosePgon                         = $A8CC;
  200. _ClosePicture                     = $A8F4;
  201. _ClosePort                         = $A87D;
  202. _CloseRgn                         = $A8DB;
  203. _Color2Index                     = $AA33;
  204. _ColorBit                         = $A864;
  205. _CopyBits                         = $A8EC;
  206. _CopyMask                         = $A817;
  207. _CopyPixMap                         = $AA05;
  208. _CopyPixPat                         = $AA09;
  209. _CopyRgn                         = $A8DC;
  210. _DelComp                         = $AA4D;
  211. _DelSearch                         = $AA4C;
  212. _DiffRgn                         = $A8E6;
  213. _DisposCCursor                     = $AA26;
  214. _DisposCIcon                     = $AA25;
  215. _DisposCTable                     = $AA24;
  216. _DisposGDevice                     = $AA30;
  217. _DisposPixMap                     = $AA04;
  218. _DisposPixPat                     = $AA08;
  219. _DisposRgn                         = $A8D9;
  220. _DrawChar                         = $A883;
  221. _DrawPicture                     = $A8F6;
  222. _DrawString                         = $A884;
  223. _DrawText                         = $A885;
  224. _EmptyRect                         = $A8AE;
  225. _EmptyRgn                         = $A8E2;
  226. _EqualPt                         = $A881;
  227. _EqualRect                         = $A8A6;
  228. _EqualRgn                         = $A8E3;
  229. _EraseArc                         = $A8C0;
  230. _EraseOval                         = $A8B9;
  231. _ErasePoly                         = $A8C8;
  232. _EraseRect                         = $A8A3;
  233. _EraseRgn                         = $A8D4;
  234. _EraseRoundRect                     = $A8B2;
  235. _FillArc                         = $A8C2;
  236. _FillCArc                         = $AA11;
  237. _FillCOval                         = $AA0F;
  238. _FillCPoly                         = $AA13;
  239. _FillCRect                         = $AA0E;
  240. _FillCRgn                         = $AA12;
  241. _FillCRoundRect                     = $AA10;
  242. _FillOval                         = $A8BB;
  243. _FillPoly                         = $A8CA;
  244. _FillRect                         = $A8A5;
  245. _FillRgn                         = $A8D6;
  246. _FillRoundRect                     = $A8B4;
  247. _ForeColor                         = $A862;
  248. _FrameArc                         = $A8BE;
  249. _FrameOval                         = $A8B7;
  250. _FramePoly                         = $A8C6;
  251. _FrameRect                         = $A8A1;
  252. _FrameRgn                         = $A8D2;
  253. _FrameRoundRect                     = $A8B0;
  254. _GetBackColor                     = $AA1A;
  255. _GetCCursor                         = $AA1B;
  256. _GetCIcon                         = $AA1E;
  257. _GetClip                         = $A87A;
  258. _GetCPixel                         = $AA17;
  259. _GetCTable                         = $AA18;
  260. _GetCTSeed                         = $AA28;
  261. _GetDeviceList                     = $AA29;
  262. _GetFontInfo                     = $A88B;
  263. _GetForeColor                     = $AA19;
  264. _GetGDevice                         = $AA32;
  265. _GetMainDevice                     = $AA2A;
  266. _GetMaxDevice                     = $AA27;
  267. _GetNextDevice                     = $AA2B;
  268. _GetPen                             = $A89A;
  269. _GetPenState                     = $A898;
  270. _GetPixel                         = $A865;
  271. _GetPixPat                         = $AA0C;
  272. _GetPort                         = $A874;
  273. _GetSubTable                     = $AA37;
  274. _GlobalToLocal                     = $A871;
  275. _GrafDevice                         = $A872;
  276. _HideCursor                         = $A852;
  277. _HidePen                         = $A896;
  278. _HiliteColor                     = $AA22;
  279. _Index2Color                     = $AA34;
  280. _InitCport                         = $AA01;
  281. _InitCursor                         = $A850;
  282. _InitGDevice                     = $AA2E;
  283. _InitGraf                         = $A86E;
  284. _InitPort                         = $A86D;
  285. _InSetRect                         = $A8A9;
  286. _InSetRgn                         = $A8E1;
  287. _InverRect                         = $A8A4;
  288. _InverRgn                         = $A8D5;
  289. _InverRoundRect                     = $A8B3;
  290. _InvertArc                         = $A8C1;
  291. _InvertColor                     = $AA35;
  292. _InvertOval                         = $A8BA;
  293. _InvertPoly                         = $A8C9;
  294. _KillPicture                     = $A8F5;
  295. _KillPoly                         = $A8CD;
  296. _Line                             = $A892;
  297. _LineTo                             = $A891;
  298. _LocalToGlobal                     = $A870;
  299. _MakeITable                         = $AA39;
  300. _MakeRGBPat                         = $AA0D;
  301. _MapPoly                         = $A8FC;
  302. _MapPt                             = $A8F9;
  303. _MapRect                         = $A8FA;
  304. _MapRgn                             = $A8FB;
  305. _MeasureText                     = $A837;
  306. _Move                             = $A894;
  307. _MovePortTo                         = $A877;
  308. _MoveTo                             = $A893;
  309. _NewGDevice                         = $AA2F;
  310. _NewPixMap                         = $AA03;
  311. _NewPixPat                         = $AA07;
  312. _NewRgn                             = $A8D8;
  313. _ObscureCursor                     = $A856;
  314. _OffSetPoly                         = $A8CE;
  315. _OffSetRect                         = $A8A8;
  316. _OfSetRgn                         = $A8E0;
  317. _OpColor                         = $AA21;
  318. _OpenCport                         = $AA00;
  319. _OpenPicture                     = $A8F3;
  320. _OpenPoly                         = $A8CB;
  321. _OpenPort                         = $A86F;
  322. _OpenRgn                         = $A8DA;
  323. _PaintArc                         = $A8BF;
  324. _PaintOval                         = $A8B8;
  325. _PaintPoly                         = $A8C7;
  326. _PaintRect                         = $A8A2;
  327. _PaintRgn                         = $A8D3;
  328. _PaintRoundRect                     = $A8B1;
  329. _PenMode                         = $A89C;
  330. _PenNormal                         = $A89E;
  331. _PenPat                             = $A89D;
  332. _PenPixPat                         = $AA0A;
  333. _PenSize                         = $A89B;
  334. _PicComment                         = $A8F2;
  335. _PlotCIcon                         = $AA1F;
  336. _PortSize                         = $A876;
  337. _ProtectEntry                     = $AA3D;
  338. _Pt2Rect                         = $A8AC;
  339. _PtInRect                         = $A8AD;
  340. _PtInRgn                         = $A8E8;
  341. _PtToAngle                         = $A8C3;
  342. _QDError                         = $AA40;
  343. _Random                             = $A861;
  344. _RealColor                         = $AA36;
  345. _RectInRgn                         = $A8E9;
  346. _RectRgn                         = $A8DF;
  347. _ReserveEntry                     = $AA3E;
  348. _RestoreEntries                     = $AA4A;
  349. _RGBBackColor                     = $AA15;
  350. _RGBForeColor                     = $AA14;
  351. _SaveEntries                     = $AA49;
  352. _ScalePt                         = $A8F8;
  353. _ScrollRect                         = $A8EF;
  354. _SectRect                         = $A8AA;
  355. _SectRgn                         = $A8E4;
  356. _SeedCFill                         = $AA50;
  357. _SeedFill                         = $A839;
  358. _SetCCursor                         = $AA1C;
  359. _SetClientID                     = $AA3C;
  360. _SetClip                         = $A879;
  361. _SetCPixel                         = $AA16;
  362. _SetPortPix                         = $AA06;
  363. _SetCursor                         = $A851;
  364. _SetDeviceAttribute                 = $AA2D;
  365. _SetEmptyRgn                     = $A8DD;
  366. _SetEntries                         = $AA3F;
  367. _SetGDevice                         = $AA31;
  368. _SetOrigin                         = $A878;
  369. _SetPBits                         = $A875;
  370. _SetPenState                     = $A899;
  371. _SetPort                         = $A873;
  372. _SetPt                             = $A880;
  373. _SetRecRgn                         = $A8DE;
  374. _SetRect                         = $A8A7;
  375. _SetStdCProcs                     = $AA4E;
  376. _SetStdProcs                     = $A8EA;
  377. _ShowCursor                         = $A853;
  378. _ShowPen                         = $A897;
  379. _SpaceExtra                         = $A88E;
  380. _StdArc                             = $A8BD;
  381. _StdBits                         = $A8EB;
  382. _StdComment                         = $A8F1;
  383. _StdGetPic                         = $A8EE;
  384. _StdLine                         = $A890;
  385. _StdOval                         = $A8B6;
  386. _StdPoly                         = $A8C5;
  387. _StdPutPic                         = $A8F0;
  388. _StdRect                         = $A8A0;
  389. _StdRgn                             = $A8D1;
  390. _StdRRect                         = $A8AF;
  391. _StdText                         = $A882;
  392. _StdTxMeas                         = $A8ED;
  393. _StringWidth                     = $A88C;
  394. _StuffHex                         = $A866;
  395. _SubPt                             = $A87F;
  396. _TestDeviceAttribute             = $AA2C;
  397. _TextFace                         = $A888;
  398. _TextFont                         = $A887;
  399. _TextMode                         = $A889;
  400. _TextSize                         = $A88A;
  401. _TextWidth                         = $A886;
  402. _UnionRect                         = $A8AB;
  403. _UnionRgn                         = $A8E5;
  404. _XOrRgn                             = $A8E7;
  405. _CalcCMask                         = $AA4F;
  406. _GetMaskTable                     = $A836;
  407. _UpdatePixMap                     = $AA38;
  408.  
  409. {  Resources Traps  }
  410.  
  411. _AddResource                     = $A9AB;
  412. _ChangedResource                 = $A9AA;
  413. _CloseResFile                     = $A99A;
  414. _Count1Resources                 = $A80D;
  415. _Count1Types                     = $A81C;
  416. _CountResources                     = $A99C;
  417. _CountTypes                         = $A99E;
  418. _CreateResFile                     = $A9B1;
  419. _CurResFile                         = $A994;
  420. _DetachResource                     = $A992;
  421. _Get1IxResource                     = $A80E;
  422. _Get1IxType                         = $A80F;
  423. _Get1NamedResource                 = $A820;
  424. _Get1Resource                     = $A81F;
  425. _GetIndResource                     = $A99D;
  426. _GetIndType                         = $A99F;
  427. _GetNamedResource                 = $A9A1;
  428. _GetResAttrs                     = $A9A6;
  429. _GetResFileAttrs                 = $A9F6;
  430. _GetResInfo                         = $A9A8;
  431. _GetResource                     = $A9A0;
  432. _HomeResFile                     = $A9A4;
  433. _InitResources                     = $A995;
  434. _LoadResource                     = $A9A2;
  435. _MaxSizeRsrc                     = $A821;
  436. _OpenResFile                     = $A997;
  437. _OpenRFPerm                         = $A9C4;
  438. _ReleaseResource                 = $A9A3;
  439. _ResError                         = $A9AF;
  440. _RGetResource                     = $A80C;
  441. _RmveResource                     = $A9AD;
  442. _RsrcMapEntry                     = $A9C5;
  443. _RsrcZoneInit                     = $A996;
  444. _SetResAttrs                     = $A9A7;
  445. _SetResFileAttrs                 = $A9F7;
  446. _SetResInfo                         = $A9A9;
  447. _SetResLoad                         = $A99B;
  448. _SetResPurge                     = $A993;
  449. _SizeRsrc                         = $A9A5;
  450. _Unique1ID                         = $A810;
  451. _UniqueID                         = $A9C1;
  452. _UpdateResFile                     = $A999;
  453. _UseResFile                         = $A998;
  454. _WriteResource                     = $A9B0;
  455. _Pack8                             = $A816;
  456. _Pack9                             = $A82B;
  457. _Pack10                             = $A82C;
  458. _Pack11                             = $A82D;
  459. _Pack12                             = $A82E;
  460. _Pack13                             = $A82F;
  461. _Pack14                             = $A830;
  462. _Pack15                             = $A831;
  463. _ScrnBitMap                         = $A833;
  464. _DragTheRgn                         = $A926;
  465. _GetItmStyle                     = $A941;
  466. _PlotIcon                         = $A94B;
  467. _Dequeue                         = $A96E;
  468. _Enqueue                         = $A96F;
  469. _StillDown                         = $A973;
  470. _AddReference                     = $A9AC;
  471. _RmveReference                     = $A9AE;
  472. _Secs2Date                         = $A9C6;
  473. _Date2Secs                         = $A9C7;
  474. _SysError                         = $A9C9;
  475. _HandToHand                         = $A9E1;
  476. _PtrToXHand                         = $A9E2;
  477. _PtrToHand                         = $A9E3;
  478. _HandAndHand                     = $A9E4;
  479. _Pack0                             = $A9E7;
  480. _Pack1                             = $A9E8;
  481. _Pack2                             = $A9E9;
  482. _Pack3                             = $A9EA;
  483. _FP68K                             = $A9EB;
  484. _Pack4                             = $A9EB;
  485. _Elems68K                         = $A9EC;
  486. _Pack5                             = $A9EC;
  487. _Pack6                             = $A9ED;
  488. _DECSTR68K                         = $A9EE;
  489. _Pack7                             = $A9EE;
  490. _PtrAndHand                         = $A9EF;
  491. _LoadSeg                         = $A9F0;
  492. _Launch                             = $A9F2;
  493. _Chain                             = $A9F3;
  494. _MethodDispatch                     = $A9F8;
  495. _Debugger                         = $A9FF;
  496. _DebugStr                         = $ABFF;
  497.  
  498. {  Scrap Traps  }
  499.  
  500. _GetScrap                         = $A9FD;
  501. _InfoScrap                         = $A9F9;
  502. _LodeScrap                         = $A9FB;
  503. _LoadScrap                         = $A9FB;
  504. _PutScrap                         = $A9FE;
  505. _UnlodeScrap                     = $A9FA;
  506. _UnloadScrap                     = $A9FA;
  507. _ZeroScrap                         = $A9FC;
  508.  
  509. {  SegLoad Traps  }
  510.  
  511. _ExitToShell                     = $A9F4;
  512. _GetAppParms                     = $A9F5;
  513. _UnLoadSeg                         = $A9F1;
  514.  
  515. {  ShutDown Traps  }
  516.  
  517. _ShutDown                         = $A895;
  518.  
  519. {  TextEdit Traps  }
  520.  
  521. _TEActivate                         = $A9D8;
  522. _TEAutoView                         = $A813;
  523. _TECalText                         = $A9D0;
  524. _TEClick                         = $A9D4;
  525. _TECopy                             = $A9D5;
  526. _TECut                             = $A9D6;
  527. _TEDeactivate                     = $A9D9;
  528. _TEDelete                         = $A9D7;
  529. _TEDispose                         = $A9CD;
  530. _TEGetOffset                     = $A83C;
  531. _TEGetText                         = $A9CB;
  532. _TEIdle                             = $A9DA;
  533. _TEInit                             = $A9CC;
  534. _TEInsert                         = $A9DE;
  535. _TEKey                             = $A9DC;
  536. _TENew                             = $A9D2;
  537. _TEPaste                         = $A9DB;
  538. _TEPinScroll                     = $A812;
  539. _TEScroll                         = $A9DD;
  540. _TESelView                         = $A811;
  541. _TESetJust                         = $A9DF;
  542. _TESetSelect                     = $A9D1;
  543. _TESetText                         = $A9CF;
  544. _TEStyleNew                         = $A83E;
  545. _TEUpdate                         = $A9D3;
  546. _TextBox                         = $A9CE;
  547.  
  548. {  ToolUtils Traps  }
  549.  
  550. _UnpackBits                         = $A8D0;
  551. _AngleFromSlope                     = $A8C4;
  552. _BitAnd                             = $A858;
  553. _BitClr                             = $A85F;
  554. _BitNot                             = $A85A;
  555. _BitOr                             = $A85B;
  556. _BitSet                             = $A85E;
  557. _BitShift                         = $A85C;
  558. _BitTst                             = $A85D;
  559. _BitXOr                             = $A859;
  560. _DeltaPoint                         = $A94F;
  561. _FixMul                             = $A868;
  562. _FixRatio                         = $A869;
  563. _FixRound                         = $A86C;
  564. _GetCursor                         = $A9B9;
  565. _GetIcon                         = $A9BB;
  566. _GetPattern                         = $A9B8;
  567. _GetPicture                         = $A9BC;
  568. _GetString                         = $A9BA;
  569. _HiWord                             = $A86A;
  570. _LongMul                         = $A867;
  571. _LoWord                             = $A86B;
  572. _Munger                             = $A9E0;
  573. _NewString                         = $A906;
  574. _PackBits                         = $A8CF;
  575. _SetString                         = $A907;
  576. _ShieldCursor                     = $A855;
  577. _SlopeFromAngle                     = $A8BC;
  578. _XMunger                         = $A819;
  579. _WriteParam                         = $A056;
  580. _Open                             = $A000;
  581.  {
  582.  _______________________________________________________________________
  583.  
  584.   Core routine system TRAPS
  585.  
  586.  _______________________________________________________________________
  587.  
  588.  
  589.   First we have the I/O core routines. These are also used by
  590.   the file system.
  591.  
  592. }
  593. _Close                             = $A001;
  594. _Read                             = $A002;
  595. _Write                             = $A003;
  596. _Control                         = $A004;
  597. _Status                             = $A005;
  598. _KillIO                             = $A006;
  599. _GetVolInfo                         = $A007;
  600. _Create                             = $A008;
  601. _Delete                             = $A009;
  602. _OpenRF                             = $A00A;
  603. _ReName                             = $A00B;
  604. _GetFileInfo                     = $A00C;
  605. _SetFileInfo                     = $A00D;
  606. _UnMountVol                         = $A00E;
  607. _MountVol                         = $A00F;
  608. _Allocate                         = $A010;
  609. _GetEOF                             = $A011;
  610. _SetEOF                             = $A012;
  611. _FlushVol                         = $A013;
  612. _GetVol                             = $A014;
  613. _SetVol                             = $A015;
  614. _FInitQueue                         = $A016;
  615. _Eject                             = $A017;
  616. _GetFPos                         = $A018;
  617. _HSetVol                         = $A215;
  618. _HGetVol                         = $A214;
  619. _HOpen                             = $A200;
  620. _HGetVInfo                         = $A207;
  621. _HCreate                         = $A208;
  622. _HDelete                         = $A209;
  623. _HOpenRF                         = $A20A;
  624. _HRename                         = $A20B;
  625. _HGetFileInfo                     = $A20C;
  626. _HSetFileInfo                     = $A20D;
  627. _AllocContig                     = $A210;
  628. _HSetFLock                         = $A241;
  629. _HRstFLock                         = $A242;
  630. _InitZone                         = $A019;
  631.  { end of HFS additions
  632.  
  633.   Here are the memory manager core routines
  634. }
  635. _GetZone                         = $A11A;
  636. _SetZone                         = $A01B;
  637. _FreeMem                         = $A01C;
  638. _MaxMem                             = $A11D;
  639. _NewPtr                             = $A11E;
  640. _DisposPtr                         = $A01F;
  641. _SetPtrSize                         = $A020;
  642. _GetPtrSize                         = $A021;
  643. _NewHandle                         = $A122;
  644. _DisposHandle                     = $A023;
  645. _SetHandleSize                     = $A024;
  646. _GetHandleSize                     = $A025;
  647. _HandleZone                         = $A126;
  648. _ReAllocHandle                     = $A027;
  649. _RecoverHandle                     = $A128;
  650. _HLock                             = $A029;
  651. _HUnlock                         = $A02A;
  652. _EmptyHandle                     = $A02B;
  653. _InitApplZone                     = $A02C;
  654. _SetApplLimit                     = $A02D;
  655. _BlockMove                         = $A02E;
  656. _PostEvent                         = $A02F;
  657.  {  Here are the event manager routines
  658. }
  659. _PPostEvent                         = $A12F;
  660. _OSEventAvail                     = $A030;
  661. _GetOSEvent                         = $A031;
  662. _FlushEvents                     = $A032;
  663. _VInstall                         = $A033;
  664.  {  Here are the utility core routines
  665. }
  666. _VRemove                         = $A034;
  667. _OffLine                         = $A035;
  668. _MoreMasters                     = $A036;
  669. _ReadDateTime                     = $A039;
  670. _SetDateTime                     = $A03A;
  671. _Delay                             = $A03B;
  672. _CmpString                         = $A03C;
  673. _DrvrInstall                     = $A03D;
  674. _DrvrRemove                         = $A03E;
  675. _InitUtil                         = $A03F;
  676. _ResrvMem                         = $A040;
  677. _SetFilLock                         = $A041;
  678. _RstFilLock                         = $A042;
  679. _SetFilType                         = $A043;
  680. _SetFPos                         = $A044;
  681. _FlushFile                         = $A045;
  682. _GetTrapAddress                     = $A146;
  683. _SetTrapAddress                     = $A047;
  684. _PtrZone                         = $A148;
  685. _HPurge                             = $A049;
  686. _HNoPurge                         = $A04A;
  687. _SetGrowZone                     = $A04B;
  688. _CompactMem                         = $A04C;
  689. _PurgeMem                         = $A04D;
  690. _AddDrive                         = $A04E;
  691. _RDrvrInstall                     = $A04F;
  692. _UprString                         = $A054;
  693. _LwrString                         = $A056;
  694. _SetApplBase                     = $A057;
  695. _OSDispatch                         = $A88F;
  696. _RelString                         = $A050;
  697.  { new 128K ROM additions
  698. }
  699. _ReadXPRam                         = $A051;
  700. _InsTime                         = $A058;
  701. _RmvTime                         = $A059;
  702. _PrimeTime                         = $A05A;
  703. _MaxBlock                         = $A061;
  704. _PurgeSpace                         = $A162;
  705. _MaxApplZone                     = $A063;
  706. _MoveHHi                         = $A064;
  707. _StackSpace                         = $A065;
  708. _NewEmptyHandle                     = $A166;
  709. _HSetRBit                         = $A067;
  710. _HClrRBit                         = $A068;
  711. _HGetState                         = $A069;
  712. _HSetState                         = $A06A;
  713. _InitFS                             = $A06C;
  714. _InitEvents                         = $A06D;
  715. _StripAddress                     = $A055;
  716.  { end of System Traps
  717.  
  718.   new 256K ROM Traps
  719. }
  720. _SetAppBase                         = $A057;
  721. _SwapMMUMode                     = $A05D;
  722. _SlotVInstall                     = $A06F;
  723. _SlotVRemove                     = $A070;
  724. _AttachVBL                         = $A071;
  725. _DoVBLTask                         = $A072;
  726. _SIntInstall                     = $A075;
  727. _SIntRemove                         = $A076;
  728. _CountADBs                         = $A077;
  729. _GetIndADB                         = $A078;
  730. _GetADBInfo                         = $A079;
  731. _SetADBInfo                         = $A07A;
  732. _ADBOp                             = $A07C;
  733. _GetDefaultStartup                 = $A07D;
  734. _SetDefaultStartup                 = $A07E;
  735. _InternalWait                     = $A07F;
  736. _GetVideoDefault                 = $A080;
  737. _SetVideoDefault                 = $A081;
  738. _DTInstall                         = $A082;
  739. _SetOSDefault                     = $A083;
  740. _GetOSDefault                     = $A084;
  741. _Sleep                             = $A08A;
  742. _SysEnvirons                     = $A090;
  743. _InitPalettes                     = $AA90;
  744.  {  Palette Manager Traps, transplanted from PaletteEqu.a
  745. }
  746. _NewPalette                         = $AA91;
  747. _GetNewPalette                     = $AA92;
  748. _DisposePalette                     = $AA93;
  749. _ActivatePalette                 = $AA94;
  750. _SetPalette                         = $AA95;
  751. _NSetPalette                     = $AA95;
  752. _GetPalette                         = $AA96;
  753. _PmForeColor                     = $AA97;
  754. _PmBackColor                     = $AA98;
  755. _AnimateEntry                     = $AA99;
  756. _AnimatePalette                     = $AA9A;
  757. _GetEntryColor                     = $AA9B;
  758. _SetEntryColor                     = $AA9C;
  759. _GetEntryUsage                     = $AA9D;
  760. _SetEntryUsage                     = $AA9E;
  761. _CTab2Palette                     = $AA9F;
  762. _Palette2CTab                     = $AAA0;
  763. _CopyPalette                     = $AAA1;
  764. _PMgrOp                             = $A085;
  765. _HUnmountVol                     = $A20E;
  766.  
  767. {  Windows Traps  }
  768.  
  769. _BeginUpDate                     = $A922;
  770. _BringToFront                     = $A920;
  771. _CalcVBehind                     = $A90A;
  772. _CalcVis                         = $A909;
  773. _CheckUpDate                     = $A911;
  774. _ClipAbove                         = $A90B;
  775. _CloseWindow                     = $A92D;
  776. _DisposWindow                     = $A914;
  777. _DragGrayRgn                     = $A905;
  778. _DragWindow                         = $A925;
  779. _DrawGrowIcon                     = $A904;
  780. _DrawNew                         = $A90F;
  781. _EndUpDate                         = $A923;
  782. _FindWindow                         = $A92C;
  783. _FrontWindow                     = $A924;
  784. _GetAuxWin                         = $AA42;
  785. _GetCWMgrPort                     = $AA48;
  786. _GetNewCWindow                     = $AA46;
  787. _GetNewWindow                     = $A9BD;
  788. _GetWindowPic                     = $A92F;
  789. _GetWMgrPort                     = $A910;
  790. _GetWRefCon                         = $A917;
  791. _GetWTitle                         = $A919;
  792. _GetWVariant                     = $A80A;
  793. _GrowWindow                         = $A92B;
  794. _HideWindow                         = $A916;
  795. _HiliteWindow                     = $A91C;
  796. _InitWindows                     = $A912;
  797. _InvalRect                         = $A928;
  798. _InvalRgn                         = $A927;
  799. _MoveWindow                         = $A91B;
  800. _NewCWindow                         = $AA45;
  801. _NewWindow                         = $A913;
  802. _PaintBehind                     = $A90D;
  803. _PaintOne                         = $A90C;
  804. _PinRect                         = $A94E;
  805. _SaveOld                         = $A90E;
  806. _SelectWindow                     = $A91F;
  807. _SendBehind                         = $A921;
  808. _SetDeskCPat                     = $AA47;
  809. _SetWinColor                     = $AA41;
  810. _SetWindowPic                     = $A92E;
  811. _SetWRefCon                         = $A918;
  812. _SetWTitle                         = $A91A;
  813. _ShowHide                         = $A908;
  814. _ShowWindow                         = $A915;
  815. _SizeWindow                         = $A91D;
  816. _TrackBox                         = $A83B;
  817. _TrackGoAway                     = $A91E;
  818. _ValidRect                         = $A92A;
  819. _ValidRgn                         = $A929;
  820. _ZoomWindow                         = $A83A;
  821. _PutIcon                         = $A9CA;
  822.  
  823. {  Notification Traps  }
  824.  
  825. _NMInstall                         = $A05E;
  826. _NMRemove                         = $A05F;
  827.  
  828. {  SCSI Traps  }
  829.  
  830. _SCSIDispatch                     = $A815;
  831.  
  832. {  Script Traps  }
  833.  
  834. _ScriptUtil                         = $A8B5;
  835.  
  836. {  Slots Traps  }
  837.  
  838. _SlotManager                     = $A06E;
  839.  
  840. {  Sound Traps  }
  841.  
  842. _SndDoCommand                     = $A803;
  843. _SndDoImmediate                     = $A804;
  844. _SndAddModifier                     = $A802;
  845. _SndNewChannel                     = $A807;
  846. _SndDisposeChannel                 = $A801;
  847. _SndControl                         = $A806;
  848. _SndPlay                         = $A805;
  849.  
  850.  
  851. IMPLEMENTATION
  852. END.
  853.